<?php $cwr_registrant_home_value = Cwr_registrant_member_homepage_value::cast($cwr_registrant_home_value); ?>
<div class="walk-home-container">
	<div class="walker-home-content">
		<h2><?php echo( $cwr_registrant_home_value->getDisplayName() ); ?> Home Page</h2>
		<hr />
		<p>
			<p>On Saturday, October 8 2011 I will be participating in Chinmaya Mission Boston's Walk/Run for CORD
			2011. I hope that you will help support me in my efforts to raise money for the Chinmaya Organization
			for Rural Development (CORD) to enable the poor in India to transform their lives through self driven
			programs. CORD is a non-profit volunteer organization that was founded in 1985 and directly supports
			over 50,000 people in 600 villages across India.</p>
			<p>You can support CORD by registering to participate in the event or by sponsoring me.</p>
		</p>
		<hr />
		<h3>Great Brook Farm State Park (Carlisle, MA)<br />Saturday, October 8, 2011</h3>
		<p>
			<strong>Registration:</strong> 8:30 am to 9:30 am<br />
           	<strong>Warmup:</strong> 9:30 am to 9:40 am<br />
           	<strong>Kickoff:</strong> 9:40 am to 10:00 am<br />
           	<strong>5Km run start:</strong> 10:00 am<br />
           	<strong>5Km walk start:</strong> 10:05 am<br />
		   	<strong>Post run celebration & Prizes:</strong> 11:00 am to 12:30 pm
		</p>
		
		<div class="walk-register-buttons" style="text-align: left;">
			<a href="<?php echo( base_url() ); ?>index.php/walk/sponsor_walker/login_register/<?php echo($urlKey); ?>/"><img src="<?php echo( base_url() ); ?>assets/images/buttons/sponsor_me.gif" border="0" /></a>
		</div>
		<p>
			<a href="<?php echo( base_url() ) ?>index.php/walk/walk_info/learn_more/">Learn more about CORD</a><br />
			<a href="<?php echo( base_url() ) ?>index.php/walk/walk_info/directions/">Directions to event</a><br />
			<a href="<?php echo( base_url() ) ?>">Register to participate</a>
		</p>
	</div>
	<div class="walker-home-goal-container">
		<div class="goal-cointainer">
			<span class="goal-key">Goal:</span> <span class="goal-value">$<?php echo( $goal ); ?></span><br />
			<span class="goal-key">Raised:</span> <span class="goal-value">$<?php echo( $raised ); ?></span>
		</div>
		<div class="therm-container">
			<?php
				if( $goal > 0 )
				{
					$goalPercent = $raised / $goal;
				}
				else
				{
					$goalPercent = 1;
				}
				
				if( $goalPercent > 1)
				{
			?>
				<div class="therm">
					<img src="<?php echo(base_url()); ?>assets/images/th_explode.gif" />
				</div>
			<?php
				}
				else
				{
					$topStyle = ceil(100 - ($goalPercent * 100));
			?>			
			<div class="therm">
				<img src="<?php echo(base_url()); ?>assets/images/th_bg.gif" />
				<div class="filler">
					<div class="fill" style="top: <?php echo( $topStyle ); ?>%">
					
					</div>
				</div>
			</div>
			<?php
				}
			?>
		</div>
	</div>
	<div class="clear"></div>
</div>
